X-Git-Url: https://pd.if.org/git/?p=pccts;a=blobdiff_plain;f=support%2Fgenmk%2Fmakefile;fp=support%2Fgenmk%2Fmakefile;h=50ea4abb2dd0d7fbb8860c3746c13693593aeb9c;hp=0000000000000000000000000000000000000000;hb=8e8f0c5b966624ab530d5bbc0d7d5d3df7f475b4;hpb=7e033a9088ec88d4a05d28412a44834c1f5591a3 diff --git a/support/genmk/makefile b/support/genmk/makefile new file mode 100755 index 0000000..50ea4ab --- /dev/null +++ b/support/genmk/makefile @@ -0,0 +1,23 @@ +SRC=genmk.c +OBJ=genmk.o +# Define PC if you use a PC OS (changes directory symbol and object file extension) +# see pccts/h/config.h +#CFLAGS=-I../../h -DPC +CFLAGS=-I../../h +CC=cc +BAG=../../bin/bag + +genmk: $(OBJ) $(SRC) ../../h/config.h + $(CC) -o genmk $(OBJ) + +clean: + rm -rf core *.o + +scrub: + rm -rf genmk core *.o + +shar: + shar genmk.c makefile > genmk.shar + +archive: + $(BAG) genmk.c makefile > genmk.bag