lsflib/tools/Makefile
changeset 166 ecd6492274ad
parent 66 2b4f786d9073
--- a/lsflib/tools/Makefile
+++ b/lsflib/tools/Makefile
@@ -5,7 +5,7 @@
       RM = rm -f
   CFLAGS = -Wall -Wstrict-prototypes
  INCLUDE = -I/usr/local/include
- LDFLAGS = -L/usr/local/lib/ -llsf -Wl,--rpath,lib
+ LDFLAGS = -L/usr/local/lib/ -llsf -lcrypto -Wl,--rpath,lib
 
 OBJECTS  = cpuid.o
 OBJECTS += main.o
@@ -21,10 +21,10 @@
 all: progs
 
 progs: $(OBJECTS)
-	$(CC) $(LDFLAGS) digest.o -o digest
-	$(CC) $(LDFLAGS) dump.o -o dump
-	$(CC) $(LDFLAGS) cpuid.o main.o -o cpuid
-	$(CC) $(LDFLAGS) list.o -o list
+	$(CC)  digest.o -o digest $(LDFLAGS)
+	$(CC) dump.o -o dump $(LDFLAGS)
+	$(CC) cpuid.o main.o -o cpuid $(LDFLAGS)
+	$(CC) list.o -o list $(LDFLAGS)
 
 	$(STRIP) digest
 	$(STRIP) cpuid