diff options
author | Mattias Andrée <maandree@kth.se> | 2017-12-09 17:51:15 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-12-09 17:51:15 +0100 |
commit | 5a0a9185aef1c4c8475d0ec6cb0ca77909d891a5 (patch) | |
tree | fce5b1fdd84e919796a72b4ad77442684dd93556 /Makefile | |
parent | Fix test (diff) | |
download | xtest-5a0a9185aef1c4c8475d0ec6cb0ca77909d891a5.tar.gz xtest-5a0a9185aef1c4c8475d0ec6cb0ca77909d891a5.tar.bz2 xtest-5a0a9185aef1c4c8475d0ec6cb0ca77909d891a5.tar.xz |
Fix makefile portability
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |