diff options
Diffstat (limited to 'makefile-so')
-rw-r--r-- | makefile-so/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile-so/Makefile b/makefile-so/Makefile index 9a2de9d..5bb41a0 100644 --- a/makefile-so/Makefile +++ b/makefile-so/Makefile @@ -14,7 +14,7 @@ LD_OPTS= default: all -clib.o: clib.c +clib.o: clib.h clib.c $(CC) $(CCFLAGS) -c -fPIC $< libclib.so: clib.o @@ -23,7 +23,7 @@ libclib.so: clib.o ldlinks: @ldconfig -n . -main: libclib.so ldlinks main.o +main: libclib.so ldlinks clib.h main.o $(CC) $(LD_OPTS) main.o -L. -lclib -o main all: main |