X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2FMakefile;h=360dc1802dfbabf7b1b6319cbab8d711f0ac70b4;hb=e248db1c46f61cf34548e739bc6ff106013b1ba2;hp=7038fd3893faf6324bafc432eddd274f4cc6f46a;hpb=2a4af1491709a649672431191a4de9e5e8c2d069;p=libc-test diff --git a/src/math/Makefile b/src/math/Makefile index 7038fd3..360dc18 100644 --- a/src/math/Makefile +++ b/src/math/Makefile @@ -1,5 +1,6 @@ CFLAGS+=-g -pipe -std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wno-unused-function -Wno-missing-braces -CFLAGS+=-Wno-unknown-pragmas -fno-builtin -frounding-math -D_GNU_SOURCE +CFLAGS+=-Wno-unknown-pragmas -fno-builtin -frounding-math +CFLAGS+=-D_GNU_SOURCE -O0 LDFLAGS+=-g -lm SRC=$(sort $(wildcard *.c)) @@ -7,7 +8,7 @@ OBJ=$(SRC:.c=.o) BINOBJ=$(filter-out util.o,$(OBJ)) BIN=$(BINOBJ:.o=) -include ../../config.mak +-include ../../config.mak all: $(BIN) run: all @@ -20,6 +21,7 @@ $(OBJ): util.h %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< %: %.c + %: %.o $(CC) $(LDFLAGS) -o $@ $^