Skip to content

Commit

Permalink
added CFLAGS in Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Jul 23, 2012
1 parent ab83a88 commit 41e624c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41e624c

Please sign in to comment.