From b26215c909c9388753979f6e1a71744e18212b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 24 Apr 2012 15:01:03 +0200 Subject: amkefile-so: fix Makefile dependencies --- makefile-so/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile-so/Makefile b/makefile-so/Makefile index fdd2466..10a9028 100644 --- a/makefile-so/Makefile +++ b/makefile-so/Makefile @@ -2,7 +2,7 @@ CC = gcc CCFLAGS=-pedantic -Wall LD_OPTS= -# $< - the current dependcy file +# $< - the current dependency file # $@ - the current target file # $* - the base name of the current target # $? - all dependencies that are newer than the target @@ -14,7 +14,7 @@ LD_OPTS= default: all -clib.o: clib.h clib.c +clib.o: clib.c clib.h $(CC) $(CCFLAGS) -c -fPIC $< libclib.so: clib.o @@ -23,7 +23,7 @@ libclib.so: clib.o ldlinks: @ldconfig -n . -main: libclib.so ldlinks clib.h main.o +main: libclib.so ldlinks main.o clib.h $(CC) $(LD_OPTS) main.o -L. -lclib -o main all: main -- cgit v1.1-2-g2b99