- Timestamp:
- 07/30/06 21:15:56 (18 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r67 r73 12 12 CC=gcc 13 13 OPTS=-std=gnu89 -pedantic -Wall 14 INC=-I/usr/local/include 15 LIB=-L/usr/local/lib 16 17 UNAME := $(shell uname) 18 ifeq ($(UNAME),FreeBSD) 19 LIB=$(LIB) -liconv 20 endif 14 21 15 22 BUILD=$(CURDIR)/build -
trunk/lib/Makefile
r36 r73 8 8 9 9 regfio.o: regfio.c 10 $(CC) $(CFLAGS) $(OPTS) -c -o $@ regfio.c10 $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ regfio.c 11 11 12 12 smb_deps.o: smb_deps.c 13 $(CC) $(CFLAGS) $(OPTS) -c -o $@ smb_deps.c13 $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ smb_deps.c 14 14 15 15 void_stack.o: void_stack.c 16 $(CC) $(CFLAGS) $(OPTS) -c -o $@ void_stack.c16 $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ void_stack.c 17 17 18 18 clean: -
trunk/src/Makefile
r65 r73 4 4 5 5 REGLOOKUP=$(BUILD_BIN)/reglookup 6 LIBS=$(wildcard ../lib/*.o)6 OBJ=$(wildcard ../lib/*.o) 7 7 FILES=$(REGLOOKUP) 8 8 9 9 all: $(FILES) 10 10 11 $(REGLOOKUP): reglookup.o $( LIBS)12 $(CC) $(CFLAGS) $(OPTS) -o $@ reglookup.o $(LIBS)11 $(REGLOOKUP): reglookup.o $(OBJ) 12 $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup.o $(OBJ) 13 13 14 14 reglookup.o: reglookup.c 15 $(CC) $(CFLAGS) $(OPTS) -c -o $@ reglookup.c15 $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ reglookup.c 16 16 17 17 install:
Note: See TracChangeset
for help on using the changeset viewer.