]> hackdaworld.org Git - my-code/triang.git/commitdiff
ein Makefile, ein Makefile, juchuuuu! :) master origin
authorobi <obi>
Fri, 9 Aug 2002 03:11:32 +0000 (03:11 +0000)
committerobi <obi>
Fri, 9 Aug 2002 03:11:32 +0000 (03:11 +0000)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..53c370c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+#!/usr/bin/make
+
+CC = gcc
+CFLAGS = -O2
+CPPFLAGS = -Wall
+LDFLAGS = -s -lm
+
+PREFIX = /usr/local
+
+TARGETS = triang
+
+all: $(TARGETS)
+
+install: $(TARGETS)
+       install -m 755 $(TARGETS) $(PREFIX)/bin
+
+uninstall:
+       cd $(PREFIX)/bin && rm -f $(TARGETS)
+
+clean:
+       rm -f $(TARGETS) *.o *~
+