aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9cc8113..c93e06d 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,11 @@ include $(CONFIGFILE)
all: xtest mksocket
-.o:
- $(CC) -o $@ $^ $(LDFLAGS)
+xtest: xtest.o
+ $(CC) -o $@ xtest.o $(LDFLAGS)
+
+mksocket: mksocket.o
+ $(CC) -o $@ mksocket.o $(LDFLAGS)
.c.o:
$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
@@ -32,6 +35,7 @@ uninstall:
clean:
-rm -rf -- xtest mksocket *.o .testdir
-.SUFFIXES: .o .c.o
+.SUFFIXES:
+.SUFFIXES: .o .c
.PHONY: all install uninstall clean