moving stuff around some more
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
CC = gcc
|
||||
|
||||
NAME = lisp
|
||||
SRC = $(NAME).c
|
||||
EXENAME = $(NAME)
|
||||
|
||||
FLAGS = -Wall -Wextra
|
||||
LIBS =
|
||||
|
||||
DEBUGFLAGS = -g -DDEBUG $(FLAGS)
|
||||
SHIPFLAGS = -O3 -fomit-frame-pointer $(FLAGS)
|
||||
|
||||
default: release
|
||||
|
||||
debug: $(SRC)
|
||||
$(CC) $(DEBUGFLAGS) $(SRC) -o $(EXENAME) $(LIBS)
|
||||
|
||||
release: $(SRC)
|
||||
$(CC) $(SHIPFLAGS) $(SRC) -o $(EXENAME) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f $(EXENAME)
|
||||
Reference in New Issue
Block a user