bitkeeper revision 1.723 (402c9d32Wi_CDhKbGEWsHmH2qb2VfQ)

fix makefile for nsplitd
This commit is contained in:
ach61@labyrinth.cl.cam.ac.uk committed 2004-02-13 09:47:30 +00:00
1 parent d902a45ebe
commit 933dcf13e1
2 files changed
+17 -2

No files matched your search

+1
View File
@@ -40,4 +40,5 @@ clean:
$(MAKE) -C xc clean
$(MAKE) -C misc clean
$(MAKE) -C examples clean
$(MAKE) -C nsplitd clean
+16 -2
View File
@@ -1,11 +1,25 @@
ROOT = ..
CC = gcc
CFLAGS = -Wall -g -O3
CFILES = $(wildcard *.c)
HDRS = $(wildcard *.h)
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
INSTALL_BINS := nsplitd
include $(ROOT)/mk/rules.mk
all: nsplitd
nsplitd: $(OBJS)
$(CC) $(CFLAGS) -o nsplitd $(OBJS)
install: all
dist: all
clean:
$(RM) *.o $(INSTALL_BINS)
%.o: %.c $(HDRS) Makefile
$(CC) $(CFLAGS) -c -o $@ $<
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.