diff options
| author | Franklin Wei <git@fwei.tk> | 2015-05-22 21:15:45 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2015-05-22 21:15:45 -0400 |
| commit | 06d3b96728f44c32a918eac21c6ec2995bf62a94 (patch) | |
| tree | 4a9c01d4161642af2eb10a699f03c2472a89ccdf /Makefile | |
| parent | 5f5e9ba46eea80c589b6675bf6d4f11f74af7d77 (diff) | |
| download | market-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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 $<" |