diff options
author | Mattias Andrée <maandree@kth.se> | 2017-12-09 17:10:14 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-12-09 17:10:14 +0100 |
commit | e0cb0b83f5d7e983662d80447d4fd8981a921698 (patch) | |
tree | 15e919409b369d7ee034169fce71ed800e210c0d /Makefile | |
parent | Rewrite and relicense (diff) | |
download | exec-as-e0cb0b83f5d7e983662d80447d4fd8981a921698.tar.gz exec-as-e0cb0b83f5d7e983662d80447d4fd8981a921698.tar.bz2 exec-as-e0cb0b83f5d7e983662d80447d4fd8981a921698.tar.xz |
Fix makefile portability
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -5,8 +5,11 @@ include $(CONFIGFILE) all: exec-as test -.o: - $(CC) -o $@ $^ $(LDFLAGS) +exec-as: exec-as.o + $(CC) -o $@ exec-as.o $(LDFLAGS) + +test: test.o + $(CC) -o $@ test.o $(LDFLAGS) .c.o: $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) @@ -31,6 +34,7 @@ uninstall: clean: -rm -f -- exec-as test -.SUFFIXES: .o .c.o +.SUFFIXES: +.SUFFIXES: .o .c .PHONY: all check install uninstall clean |