Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added CFLAGS in Makefile.

  • Loading branch information...
commit 41e624c81c49385cc20f05cabdf5e5f381f7ed04 1 parent ab83a88
@agentzh authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.