summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEnno Boland (Gottox) <gottox@s01.de>2008-06-28 21:06:02 +0200
committerEnno Boland (Gottox) <gottox@s01.de>2008-06-28 21:06:02 +0200
commit3584331433b743f4c0f9b6ca82180e0e55bf00d1 (patch)
treef2092e8191e403b9225928e71aca49721480f385 /Makefile
parentb2712c1480271f92a7c2667b6be398c33973edf7 (diff)
Adding args unlib patch.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index ba552ac..1b10a4e 100644
--- a/Makefile
+++ b/Makefile
@@ -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}