Permalink
Browse files

Use implicit .c -> .o makefile rules, and switch C version from gnu9x…

… to c99.
  • Loading branch information...
1 parent 8cacb6c commit 1507a9a9870cc8484d0a4148b282db6bae0835ae @PeterScott committed May 11, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 Makefile
View
@@ -1,14 +1,10 @@
-CC=gcc
-CC_OPT=-Wall -std=gnu9x -c -g -O2
+CFLAGS = -Wall -std=c99 -O2
DEPS=main.o heap.o
PRGM=test
MAIN: $(DEPS)
$(CC) $(DEPS) -o $(PRGM)
-%.o : %.c
- $(CC) $(CC_OPT) $<
-
clean:
rm *.o $(PRGM)

0 comments on commit 1507a9a

Please sign in to comment.