summaryrefslogtreecommitdiffstats
path: root/old/skeletons/Makefile.erb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-03-07 14:43:44 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2022-03-07 14:43:44 +0100
commitcbcab8684e06379c9f5c51cfc9cac68d8684fe0c (patch)
treed03b04e9a7f8e3aae70e590953408f90deed077c /old/skeletons/Makefile.erb
parent721a7ea65d23e7b149ba73968a1d75727a55b390 (diff)
downloadvim-cbcab8684e06379c9f5c51cfc9cac68d8684fe0c.zip
vim-cbcab8684e06379c9f5c51cfc9cac68d8684fe0c.tar.gz
move to old
Diffstat (limited to 'old/skeletons/Makefile.erb')
-rw-r--r--old/skeletons/Makefile.erb18
1 files changed, 18 insertions, 0 deletions
diff --git a/old/skeletons/Makefile.erb b/old/skeletons/Makefile.erb
new file mode 100644
index 0000000..ac7e0a6
--- /dev/null
+++ b/old/skeletons/Makefile.erb
@@ -0,0 +1,18 @@
+
+
+CC = gcc
+STD = _GNU_SOURCE
+OBJS = A.o test.o B.o
+CFLAGS = -D__TZURTCH__
+BIN = binary
+
+.PHONY: clean
+
+.c.o:
+ $(CC) -c -Wall -I. $(CFLAGS) -D$(STD) -o $@ $<
+
+all: $(OBJS)
+ $(CC) $(OBJS) -o $@
+
+clean:
+ rm -f *~ *.o core $(BIN)