1 2 3 4 5 6 7 8 9 10 11 12 13 14
--- a/Makefile +++ b/Makefile @@ -1,10 +1,7 @@ HC = hc2c CC = gcc -CFLAGS = -O3 -LIBS = -lm - all: src/*.HC cp src/*.h bin/ $(HC) src/main.HC bin/main.c - $(CC) bin/main.c -o bin/holy-fetch $(LIBS) + $(CC) $(CFLAGS) bin/main.c $(LDFLAGS) -o bin/holy-fetch