root/vtcross/branches/bhilburn/Makefile.cr_policy @ 115

Revision 105, 343 bytes (checked in by bhilburn, 15 years ago)

Totally re-organized the codebase. This totally breaks everything. I mean
_everything_. Deleted redundant files, local includes, and copied all makefiles
to top-level directory. Need to rewrite all of them.

Line 
1#
2# Policy Engine Makefile
3#
4
5TESTS = policy_engine
6all: $(TESTS)
7
8cc = gcc
9CFLAGS = -Wall -O3
10LDFLAGS = -lm -ldl -pthread
11
12COBJS = sqlite3.o
13CHEADERS = src/sqlite3.h
14
15$(COBJS) : %.o : src/%.c $(CHEADERS)
16        $(cc) -c $< -o $@
17
18
19$(TESTS) : % : src/main_%.c $(COBJS)
20        $(cc) $(CFLAGS) $(COBJS) $(LDFLAGS) $< -o $@
21
22
23clean:
24        rm -rf *.o $(TESTS)
25
Note: See TracBrowser for help on using the browser.