nodesystem/examples/nodetree/Makefile

27 lines
372 B
Makefile

##
# Nodesystem
#
# @file
# @version 0.1
CC="tcc"
SRC=main.c
main: $(SRC) ../../libnodesystem.so
tcc -o $@ -I ../../include $(SRC) -lnodesystem -L../../
run: main
LD_LIBRARY_PATH=../..:$LD_LIBRARY_PATH ./main
full: $(SRC)
make -C ../../
tcc -o main -I ../../include $(SRC) -lnodesystem -L../../
../../libnodesystem.so:
make -C ../../
clean:
rm -rf main
# end