add CFLAGS as per gnu standards

This commit is contained in:
Luis Batalha 2022-11-16 15:52:39 +00:00 committed by GitHub
parent b8d77df1e8
commit 5c787e4173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,11 +11,11 @@ all: $(TARGET_BENCH) $(TARGET_CONV)
bench: $(TARGET_BENCH) bench: $(TARGET_BENCH)
$(TARGET_BENCH):$(TARGET_BENCH).c $(TARGET_BENCH):$(TARGET_BENCH).c
$(CC) $(CFLAGS_BENCH) $(TARGET_BENCH).c -o $(TARGET_BENCH) $(LFLAGS_BENCH) $(CC) $(CFLAGS_BENCH) $(CFLAGS) $(TARGET_BENCH).c -o $(TARGET_BENCH) $(LFLAGS_BENCH)
conv: $(TARGET_CONV) conv: $(TARGET_CONV)
$(TARGET_CONV):$(TARGET_CONV).c $(TARGET_CONV):$(TARGET_CONV).c
$(CC) $(CFLAGS_CONV) $(TARGET_CONV).c -o $(TARGET_CONV) $(CC) $(CFLAGS_CONV) $(CFLAGS) $(TARGET_CONV).c -o $(TARGET_CONV)
.PHONY: clean .PHONY: clean
clean: clean: