From 4c0eeddba45e354019cb6cd08ec398bdecfdc9ee Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Sun, 11 Mar 2012 14:54:30 +0100 Subject: First commit --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..57823d1 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +CC = clang +CFLAGS = -Wall -Wextra -std=c99 -pedantic -O3 +LDFLAGS = -lm +OBJECTS = mjolnir.o +TARGET = mjolnir + +release: $(TARGET) + +%.o: %.c + $(CC) -c $(CFLAGS) $< + +$(TARGET): $(OBJECTS) + +install: release + echo "Installing... (not implemented)" + +clean: + rm -f *.o *~ core tags $(TARGET) + +tags: + ctags * -- cgit v1.2.3