From: short <> Date: Tue, 5 Dec 2000 15:53:18 +0000 (+0000) Subject: Prevented compilation through object file. X-Git-Tag: rel1_0~5 X-Git-Url: https://git.jankratochvil.net/?p=timeplan.git;a=commitdiff_plain;h=2c28e4080e000cfe44ad45776162bfc7405b3c43;ds=sidebyside Prevented compilation through object file. Now it respects specified CFLAGS during compilation. --- diff --git a/Makefile b/Makefile index c217400..c02e21e 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,8 @@ CFLAGS=-O2 -ggdb -Wall -pedantic -ansi -D_GNU_SOURCE all: timeplan -timeplan: timeplan.o - -timeplan.o: timeplan.c +timeplan: timeplan.c + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) $(LOADLIBES) $(LDLIBS) -o $@ $< .PHONY: clean clean: