Permalink
Browse files

CFLAGS

  • Loading branch information...
1 parent 0cb7399 commit 91465be7dc5f32f4057b9f78d37cf114aaa6d805 @tj committed May 8, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 Makefile
View
@@ -7,12 +7,14 @@ SRC = src/cdescent.c \
OBJ = $(SRC:.c=.o)
+CFLAGS = -c -03
+
bin/cdescent: $(OBJ)
@mkdir -p bin
- $(CC) -03 $^ -o $@
+ $(CC) $^ $(LDFLAGS) -o $@
%.o: %.c
- $(CC) $< -c -o $@
+ $(CC) $< $(CFLAGS) -o $@
clean:
rm -fr bin src/*.o

0 comments on commit 91465be

Please sign in to comment.