diff options
| author | Enno Boland (Gottox) <gottox@s01.de> | 2008-06-28 21:06:02 +0200 |
|---|---|---|
| committer | Enno Boland (Gottox) <gottox@s01.de> | 2008-06-28 21:06:02 +0200 |
| commit | 3584331433b743f4c0f9b6ca82180e0e55bf00d1 (patch) | |
| tree | f2092e8191e403b9225928e71aca49721480f385 /Makefile | |
| parent | b2712c1480271f92a7c2667b6be398c33973edf7 (diff) | |
Adding args unlib patch.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -4,11 +4,9 @@ include config.mk SRC = smu.c -LIBSRC = libsmu.c OBJ = ${SRC:.c=.o} -LIBOBJ = ${LIBSRC:.c=.o} -all: options libsmu.a smu +all: options smu options: @echo smu build options: @@ -22,13 +20,9 @@ options: ${OBJ}: config.mk -libsmu.a: ${LIBOBJ} - @echo AR $@ - @${AR} $@ ${LIBOBJ} - smu: ${OBJ} @echo LD $@ - @${CC} -o $@ ${OBJ} ${LDFLAGS} -L. -lsmu + @${CC} -o $@ ${OBJ} ${LDFLAGS} clean: @echo cleaning @@ -37,8 +31,7 @@ clean: dist: clean @echo creating dist tarball @mkdir -p smu-${VERSION} - @cp -R LICENSE Makefile config.mk \ - smu.1 ${SRC} ${LIBSRC} smu.h smu-${VERSION} + @cp -R LICENSE Makefile config.mk smu.1 ${SRC} smu-${VERSION} @tar -cf smu-${VERSION}.tar smu-${VERSION} @gzip smu-${VERSION}.tar @rm -rf smu-${VERSION} |