summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@ping.uio.no>2011-11-15 22:03:45 +0100
committerMartin Stensgård <mastensg@ping.uio.no>2011-11-15 22:03:45 +0100
commitc6298e79c316b155aec51ea6556f3f9aafc15729 (patch)
treee4cadb39e9a48291173cc047c8b412c37ee3a62f /Makefile
parent39514f0f057db3c6a80cf0ad8f0ad5b2d8ac7996 (diff)
autotoolify
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 95d7e82..0000000
--- a/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-DEBUG = -O0 -ggdb -g3
-DEBUG = -O3
-CFLAGS = -Wall -pedantic -std=gnu99 $(DEBUG)
-LDFLAGS = -lGL -lGLU -lglut
-BINARY = ray
-VERSION = 0.1
-PREFIX = /usr/local
-OBJECTS = $(BINARY).o
-
-all: $(BINARY)
-
-$(BINARY): $(BINARY).c 3dmath.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINARY) 3dmath.c $(BINARY).c
-
-clean:
- rm -f $(BINARY).o $(BINARY)
-
-install: all
- mkdir -p $(PREFIX)/bin
- cp -f $(BINARY) $(PREFIX)/bin/$(BINARY)
- chmod 755 $(PREFIX)/bin/$(BINARY)
- mkdir -p $(PREFIX)/man/man1
- sed "s/VERSION/$(VERSION)/g" < $(BINARY).1 > $(PREFIX)/man/man1/$(BINARY).1
- chmod 644 $(PREFIX)/man/man1/$(BINARY).1
-
-uninstall:
- rm -f $(BINARY) $(PREFIX)/bin/$(BINARY)