summaryrefslogtreecommitdiffstats
path: root/skeletons/Makefile.erb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-11-28 17:00:13 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-11-28 17:00:13 +0100
commit36977b0022dede80950f94d98e92d9ba8e71f1c1 (patch)
tree5812c24cd09a6999fe7d928e26e566113f145ea2 /skeletons/Makefile.erb
parente7398712ce47a3e63aafc8dc73f5121668450d07 (diff)
downloadvim-36977b0022dede80950f94d98e92d9ba8e71f1c1.zip
vim-36977b0022dede80950f94d98e92d9ba8e71f1c1.tar.gz
update Makefile skeleton
Diffstat (limited to 'skeletons/Makefile.erb')
-rw-r--r--skeletons/Makefile.erb6
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)