Files
xen/tools/misc/nsplitd/Makefile
T
kaf24@scramble.cl.cam.ac.uk dc44ed4764 bitkeeper revision 1.1041.6.1 (40e5221awCqaZfcsO_ny2z3p_6BiEg)
nsplitd.c, Makefile:
  mvdir
Makefile:
  Rename: BitKeeper/deleted/.del-Makefile~9f548ce6ff509eac -> tools/nsplitd/Makefile
nsplitd.c:
  Rename: BitKeeper/deleted/.del-nsplitd.c~8b67653f8e377176 -> tools/nsplitd/nsplitd.c
2004-07-02 08:51:38 +00:00

23 lines
317 B
Makefile

CC = gcc
CFLAGS = -Wall -O3
CFILES = $(wildcard *.c)
HDRS = $(wildcard *.h)
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
TARGET = nsplitd
all: $(TARGET)
install: all
clean:
$(RM) *.o $(TARGET) *~
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $@ $^
%.o: %.c $(HDRS) Makefile
$(CC) $(CFLAGS) -c -o $@ $<