pccts/support/rexpr/makefile
raw| 1 | BAG=../../bin/bag |
| 2 | SRC=test.c rexpr.c |
| 3 | OBJ=test.o rexpr.o |
| 4 | CFLAGS_DEBUG = -g |
| 5 | CC ?= gcc |
| 6 | |
| 7 | test: $(OBJ) $(SRC) |
| 8 | $(CC) $(CFLAGS) $(CFLAGS_DEBUG) -o texpr $(OBJ) |
| 9 | |
| 10 | shar: |
| 11 | shar makefile test.c rexpr.c rexpr.h > rexpr.shar |
| 12 | |
| 13 | archive: |
| 14 | $(BAG) makefile test.c rexpr.c rexpr.h > rexpr.bag |
| 15 | |
| 16 | clean: |
| 17 | rm -rf *.o core texpr |
| 18 | |
| 19 | scrub: |
| 20 | rm -rf *.o core texpr |