equal
deleted
inserted
replaced
3 STRIP = strip -s |
3 STRIP = strip -s |
4 INSTALL = cp -f |
4 INSTALL = cp -f |
5 RM = rm -f |
5 RM = rm -f |
6 CFLAGS = -Wall -Wstrict-prototypes |
6 CFLAGS = -Wall -Wstrict-prototypes |
7 INCLUDE = -I/usr/local/include |
7 INCLUDE = -I/usr/local/include |
8 LDFLAGS = -L/usr/local/lib/ -llsf -Wl,--rpath,lib |
8 LDFLAGS = -L/usr/local/lib/ -llsf -lcrypto -Wl,--rpath,lib |
9 |
9 |
10 OBJECTS = cpuid.o |
10 OBJECTS = cpuid.o |
11 OBJECTS += main.o |
11 OBJECTS += main.o |
12 OBJECTS += digest.o |
12 OBJECTS += digest.o |
13 OBJECTS += dump.o |
13 OBJECTS += dump.o |
19 $(CC) -c $(CFLAGS) $(INCLUDE) -o $@ $< |
19 $(CC) -c $(CFLAGS) $(INCLUDE) -o $@ $< |
20 |
20 |
21 all: progs |
21 all: progs |
22 |
22 |
23 progs: $(OBJECTS) |
23 progs: $(OBJECTS) |
24 $(CC) $(LDFLAGS) digest.o -o digest |
24 $(CC) digest.o -o digest $(LDFLAGS) |
25 $(CC) $(LDFLAGS) dump.o -o dump |
25 $(CC) dump.o -o dump $(LDFLAGS) |
26 $(CC) $(LDFLAGS) cpuid.o main.o -o cpuid |
26 $(CC) cpuid.o main.o -o cpuid $(LDFLAGS) |
27 $(CC) $(LDFLAGS) list.o -o list |
27 $(CC) list.o -o list $(LDFLAGS) |
28 |
28 |
29 $(STRIP) digest |
29 $(STRIP) digest |
30 $(STRIP) cpuid |
30 $(STRIP) cpuid |
31 $(STRIP) dump |
31 $(STRIP) dump |
32 $(STRIP) list |
32 $(STRIP) list |