qwknet added to main makefile

This commit is contained in:
Andrew Pamment
2018-11-04 17:45:02 +10:00
parent a9d4afb76d
commit 988151d11a
3 changed files with 11 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
CC=cc
CFLAGS=-I/usr/local/include -ggdb
CFLAGS=-I/usr/local/include
DEPS = qwktoss.c qwkscan.c
JAMLIB = ../../deps/jamlib/jamlib.a
OBJ = qwktoss.o ../../src/inih/ini.o
@@ -11,7 +11,7 @@ all: qwktoss qwkscan
$(CC) -c -o $@ $< $(CFLAGS)
$(JAMLIB):
cd ../../deps/jamlib && make -f Makefile.linux
cd ../../deps/jamlib && make -f $(JAMMAKE)
qwktoss: $(OBJ) $(JAMLIB)
$(CC) -o qwktoss $^ $(CFLAGS) -L/usr/local/lib
@@ -22,4 +22,4 @@ qwkscan: $(SOBJ) $(JAMLIB)
.PHONY: clean
clean:
rm -f $(OBJ) qwktoss
rm -f $(OBJ) $(SOBJ) qwktoss qwkscan