Browse files

added CFLAGS in Makefile.

  • Loading branch information...
1 parent ab83a88 commit 41e624c81c49385cc20f05cabdf5e5f381f7ed04 @agentzh committed Jul 22, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 Makefile
View
5 Makefile
@@ -2,14 +2,15 @@
OBJS=test.o
CC=gcc
+#export CFLAGS=-m32
all: test
test: test.o test_provider.o
- $(CC) -o $@ $^
+ $(CC) $(CFLAGS) -o $@ $^
test.o: test.c test_provider.h
- $(CC) -c $<
+ $(CC) $(CFLAGS) -g -c $<
test_provider.h: test_provider.d
dtrace -xnolibs -h -o $@ -s test_provider.d

0 comments on commit 41e624c

Please sign in to comment.