Revert "Add explicit rule for compile to use CCFLAGS instead of CFLAGS"
This reverts commit c29e30d25c
.
This commit is contained in:
parent
44c444d638
commit
c14c5952a7
1 changed files with 2 additions and 5 deletions
7
Makefile
7
Makefile
|
@ -1,7 +1,7 @@
|
|||
# Makefile for the open-source release of adventure 2.5
|
||||
|
||||
CC=clang
|
||||
CCFLAGS=-O2 -std=c99 -Wall -Wextra -Wpedantic -fstack-protector -fstack-protector-all -pipe -mtune=native
|
||||
CC?=gcc
|
||||
CCFLAGS=-std=c99
|
||||
LIBS=
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
|
@ -33,9 +33,6 @@ database.o: database.h
|
|||
|
||||
funcs.h: database.h
|
||||
|
||||
compile: compile.c
|
||||
$(CC) $(CCFLAGS) -o $@ $<
|
||||
|
||||
database.c database.h: compile adventure.text
|
||||
./compile
|
||||
$(CC) $(CCFLAGS) -O $(DBX) -c database.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue