Peter Moulder fixed CFLAGS

This commit is contained in:
albert
2003-09-01 00:18:58 +00:00
parent 360e6533c9
commit 28d744ee6a
5 changed files with 33 additions and 19 deletions

View File

@@ -20,14 +20,14 @@ PS_X := COPYING HACKING TRANSLATION common.h module.mk it p ps.1 regression
TARFILES += $(PSSRC) $(addprefix ps/,$(PS_X))
ps/ps: $(PSOBJ) $(LIBPROC)
$(CC) $(LDFLAGS) -o $@ $^
$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o $@ $^
# This just adds the stacktrace code
ps/debug: $(PSOBJ) stacktrace.o $(LIBPROC)
$(CC) -o $@ $^ -lefence
$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o $@ $^ -lefence
$(PSOBJ): %.o: %.c ps/common.h proc/$(SONAME)
$(CC) -c $(CFLAGS) $< -o $@
$(CC) -c $(ALL_CPPFLAGS) $(ALL_CFLAGS) $< -o $@
ps/stacktrace.o: ps/stacktrace.c