dict/GNUmakefile

29 lines
504 B
Makefile
Raw Normal View History

2018-11-13 00:36:34 +00:00
2018-12-09 01:17:48 +00:00
BIN_OBJ = o/main.a o/connection.a
NDA_OBJ = o/nda.a o/connection.a o/tools.a
2018-11-13 00:36:34 +00:00
2018-12-09 01:17:48 +00:00
dict : $(BIN_OBJ)
2018-11-13 00:36:34 +00:00
iix link o/main o/connection keep=$@
2018-12-09 01:17:48 +00:00
dict.nda : $(NDA_OBJ) o/nda.r
iix link o/nda o/connection o/tools keep=$@
iix copyfork o/nda.r $@ -r
iix chtyp -t nda $@
2018-11-13 00:36:34 +00:00
o/main.a : main.c connection.h
o/connection.a : connection.c connection.h
2018-12-09 01:17:48 +00:00
o/tools.a : tools.c
o/nda.a : nda.c nda.h
o/nda.r : nda.rez nda.h
2018-11-13 00:36:34 +00:00
o :
mkdir $@
o/%.a : %.c | o
iix compile $< keep=o/$*
2018-12-09 01:17:48 +00:00
o/%.r : %.rez | o
iix compile $< keep=$@