X-Git-Url: https://git.gag.com/?p=debian%2Fyforth;a=blobdiff_plain;f=Makefile;fp=Makefile;h=ea23ce45d3189588480922880aad724ecf979547;hp=5e0fddb08bc741a61c4222653e91f7ff79a7e358;hb=1892771ec2370b4455aca2d17a2d4633a9e8d0dd;hpb=666fb9303a869710aab62228254f25fc0e5c7302 diff --git a/Makefile b/Makefile index 5e0fddb..ea23ce4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ -OPTIMIZE = -O2 CC = gcc MATHLIB = -lm @@ -13,16 +12,16 @@ INCLUDES = block.h blocke.h config.h core.h coree.h defaults.h double.h \ string.h tools.h toolse.h udio.h ver.h ycore.h yforth.h yforth: div.h $(OBJECTS) - $(CC) -o yforth $(OBJECTS) $(MATHLIB) + $(CC) -o yforth $(LDFLAGS) $(OBJECTS) $(MATHLIB) div.h: div ./div div: division.c - $(CC) -o div division.c + $(CC) -o div $(CFLAGS) $(CPPFLAGS) division.c .c.o: - $(CC) -c -o $@ $(OPTIMIZE) $< + $(CC) -c -o $@ $(CFLAGS) $(CPPFLAGS) $< clean: rm -f *.o yforth div.h div