Changeset 5 for src/Makefile
- Timestamp:
- 02/20/05 20:53:02 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile
r3 r5 1 1 # $Id$ 2 3 # Installation prefix. Change to install elsewhere4 # XXX: installation not yet implemented5 6 PREFIX=/usr/local7 2 8 3 ################################################################################ 9 4 10 CC=gcc 11 OPTS=-ggdb -std=gnu89 -pedantic -Wall 12 #OPTS=-std=gnu89 -pedantic -Wall 13 14 BUILD=../build 15 BUILD_BIN=$(BUILD)/bin 16 BUILD_ETC=$(BUILD)/etc 17 BUILD_DIRS=$(BUILD_BIN) $(BUILD_ETC) 18 19 REGLOOKUP=$(BUILD)/bin/reglookup 5 REGLOOKUP=$(BUILD_BIN)/reglookup 20 6 FILES=$(REGLOOKUP) 21 7 22 all: $(BUILD_DIRS) $(FILES) 23 24 $(BUILD_DIRS): 25 mkdir -p $@ 8 all: $(FILES) 26 9 27 10 $(REGLOOKUP): reglookup.c 28 11 $(CC) $(OPTS) -o $@ reglookup.c 29 30 clean:31 rm -rf $(BUILD)/*
Note: See TracChangeset
for help on using the changeset viewer.