summaryrefslogtreecommitdiff
path: root/ToD
diff options
context:
space:
mode:
Diffstat (limited to 'ToD')
-rwxr-xr-xToD/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ToD/Makefile b/ToD/Makefile
index fafd7ac..5a0edcd 100755
--- a/ToD/Makefile
+++ b/ToD/Makefile
@@ -1,16 +1,16 @@
#!/usr/bin/make -f
-CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -I../includes
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -I../includes `baltisot-config --cflags`
CXX=g++
LIBS=-lz
-LDFLAGS=${LIBS}
+LDFLAGS=${LIBS} `baltisot-config --libs`
TARGET = c_dumper
all: ${TARGET}
-c_dumper: c_dumper.o ../includes/generic.h Makefile
- ${CXX} ${LDFLAGS} c_dumper.o ../generic/generic.a -o c_dumper
+c_dumper: c_dumper.o Makefile
+ ${CXX} ${LDFLAGS} c_dumper.o -o c_dumper
clean:
rm -f *.o ${TARGET} compil.c