blob: 64843a7f6881d89b2bdbaf2f197b37b94bb8d937 (
plain) (
tree)
|
|
.POSIX:
CONFIGFILE = config.mk
include $(CONFIGFILE)
OBJ =\
cg-base.o\
radharc.o
HDR =\
arg.h\
cg-base.h
all: radharc
$(OBJ): $(@:.o=.c) $(HDR)
.c.o:
$(CC) -c -o $@ $< $(CPPFLAGS) $(CFLAGS)
radharc: $(OBJ)
$(CC) -o $@ $(OBJ) $(LDFLAGS)
clean:
-rm -f -- radharc *.o
.SUFFIXES:
.SUFFIXES: .c .o
.PHONY: all check install uninstall clean
|