Skip to content

Commit

Permalink
link wc.o to test_fault, compile with -g
Browse files Browse the repository at this point in the history
  • Loading branch information
juphoff committed Aug 3, 2012
1 parent 9e3e693 commit 29d4b16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions util/Makefile
Expand Up @@ -63,6 +63,7 @@
include ../Makedefs

FAULT_DEBUG = -DDEBUG
CC += -g

all: fault.o misc.o wc.o hash.o data.o euca_auth.o euca_axis.o ipc.o windows-bundle.o euca_rootwrap euca_mountwrap

Expand All @@ -85,8 +86,8 @@ test_wc: wc.c misc.o ../storage/diskutil.o ipc.o

# I plan to roll the test_fault main() back into fault.c:
# I only kept them separate to ensure fault.c could be used cleanly via extern
test_fault: fault.c misc.o ../storage/diskutil.o ipc.o
$(CC) $(CFLAGS) $(INCLUDES) `xslt-config --cflags` $(FAULT_DEBUG) -D_UNIT_TEST -o test_fault fault.c misc.o ../storage/diskutil.o ipc.o $(LIBS) $(LDFLAGS)
test_fault: fault.c misc.o wc.o ../storage/diskutil.o ipc.o
$(CC) $(CFLAGS) $(INCLUDES) `xslt-config --cflags` $(FAULT_DEBUG) -D_UNIT_TEST -o test_fault fault.c misc.o wc.o ../storage/diskutil.o ipc.o $(LIBS) $(LDFLAGS)

../storage/diskutil.o:
make -C ../storage
Expand Down

0 comments on commit 29d4b16

Please sign in to comment.