Makefile tweak.

git-svn-id: file:///home/mbr/svn/fwknop/trunk@10 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
Damien Stuart
2008-12-08 01:17:53 +00:00
parent 1e7534df68
commit f3dc818b28
+7 -5
View File
@@ -80,10 +80,12 @@ LIBOBJS = $(LIBSRCS:.c=.o)
#
ALLSRCS = $(LIBSRCS) $(SRC) $(TSRC)
ALLPROG = $(PROG) $(TPROG)
###########################################################################
# Targets
#
all: $(PROG) $(TPROG)
all: $(ALLPROG)
$(PROG): $(OBJ) $(LIBFWK)
$(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBFWK) $(LIBS)
@@ -98,13 +100,13 @@ $(LIBFWK): $(LIBOBJS)
# Force a normal rebuild.
#
rebuild: clean $(PROG)
rebuild: clean all
strip: $(PROG)
strip $(PROG)
strip: $(ALLPROG)
strip $(ALLPROG)
clean:
rm -f $(PROG) $(TPROG) *.o *.a *.so
rm -f $(ALLPROG) *.o *.a *.so
realclean: clean
rm -f core *.bak *.tmp *[-~]