source: trunk/optimizer/src/Makefile @ 816

Last change on this file since 816 was 809, checked in by mmc, 17 years ago

Created the initial API for the optimizer. Type "make" in this directory
and then run the "rptest" program to see how it works. The guts of
rp_optimizer.c are missing, but the rest of it works.

File size: 279 bytes
Line 
1CC = gcc
2CFLAGS = -g
3
4rptest: test.o rp_optimizer.o
5        $(CC) $(CFLAGS) -o $@ test.o rp_optimizer.o -lm
6
7test.o: rp_optimizer.h test.c
8        $(CC) -c $(CFLAGS) test.c -o $@
9
10rp_optimizer.o: rp_optimizer.h rp_optimizer.c
11        $(CC) -c $(CFLAGS) rp_optimizer.c -o $@
12
13clean:
14        rm -f *.o rptest
Note: See TracBrowser for help on using the repository browser.