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