aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2015-05-22 21:15:45 -0400
committerFranklin Wei <git@fwei.tk>2015-05-22 21:15:45 -0400
commit06d3b96728f44c32a918eac21c6ec2995bf62a94 (patch)
tree4a9c01d4161642af2eb10a699f03c2472a89ccdf /Makefile
parent5f5e9ba46eea80c589b6675bf6d4f11f74af7d77 (diff)
downloadmarket-sim-06d3b96728f44c32a918eac21c6ec2995bf62a94.zip
market-sim-06d3b96728f44c32a918eac21c6ec2995bf62a94.tar.gz
market-sim-06d3b96728f44c32a918eac21c6ec2995bf62a94.tar.bz2
market-sim-06d3b96728f44c32a918eac21c6ec2995bf62a94.tar.xz
ncurse-ify the whole thing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e37f720..e02f001 100644
--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,13 @@ GIT_VERSION := $(shell git describe --abbrev=8 --dirty --always --tags)
CFLAGS = -Isrc/ -O2 -g -Wall -Wextra -std=gnu99 -fsanitize=address -DVERSION_INFO=\"$(GIT_VERSION)\"
+LIBS = -lcurl -lcurses
+
HEADERS := $(wildcard src/*.h)
market-sim: $(OBJ) Makefile $(HEADERS)
@echo "LD $@"
- @$(CC) $(OBJ) -o $@ $(CFLAGS) -lcurl
+ @$(CC) $(OBJ) -o $@ $(CFLAGS) $(LIBS)
%.o: %.c Makefile $(HEADERS)
@echo "CC $<"