diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-28 17:00:13 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-28 17:00:13 +0100 |
commit | 36977b0022dede80950f94d98e92d9ba8e71f1c1 (patch) | |
tree | 5812c24cd09a6999fe7d928e26e566113f145ea2 /skeletons | |
parent | e7398712ce47a3e63aafc8dc73f5121668450d07 (diff) | |
download | vim-36977b0022dede80950f94d98e92d9ba8e71f1c1.zip vim-36977b0022dede80950f94d98e92d9ba8e71f1c1.tar.gz |
update Makefile skeleton
Diffstat (limited to 'skeletons')
-rw-r--r-- | skeletons/Makefile.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/skeletons/Makefile.erb b/skeletons/Makefile.erb index 6db30f9..ac7e0a6 100644 --- a/skeletons/Makefile.erb +++ b/skeletons/Makefile.erb @@ -6,11 +6,13 @@ OBJS = A.o test.o B.o CFLAGS = -D__TZURTCH__ BIN = binary +.PHONY: clean + .c.o: - $(CC) -c -Wall -I. $(CFLAGS) -D$(STD) $< + $(CC) -c -Wall -I. $(CFLAGS) -D$(STD) -o $@ $< all: $(OBJS) - $(CC) $(OBJS) -o $(BIN) + $(CC) $(OBJS) -o $@ clean: rm -f *~ *.o core $(BIN) |