2021-02-07 09:20:41 +00:00
|
|
|
##
|
|
|
|
# Nodesystem
|
|
|
|
#
|
|
|
|
# @file
|
|
|
|
# @version 0.1
|
|
|
|
|
|
|
|
CC="tcc"
|
|
|
|
SRC=main.c
|
|
|
|
|
2021-02-07 09:28:22 +00:00
|
|
|
main: $(SRC) ../../libnodesystem.so
|
|
|
|
tcc -o $@ -I ../../include $(SRC) -lnodesystem -L../../
|
2021-02-07 09:20:41 +00:00
|
|
|
|
|
|
|
run: main
|
2021-02-07 09:28:22 +00:00
|
|
|
LD_LIBRARY_PATH=../..:$LD_LIBRARY_PATH ./main
|
|
|
|
|
|
|
|
full: $(SRC)
|
|
|
|
make -C ../../
|
|
|
|
tcc -o main -I ../../include $(SRC) -lnodesystem -L../../
|
|
|
|
|
|
|
|
../../libnodesystem.so:
|
|
|
|
make -C ../../
|
2021-02-07 09:20:41 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf main
|
|
|
|
|
|
|
|
# end
|