blob: 16394bb1f5d09e3309de83f5699c95156b9d6d63 (
plain) (
tree)
|
|
.POSIX:
CONFIGFILE = config.mk
include $(CONFIGFILE)
OBJ =\
apsh.o
HDR =\
config.h
all: apsh
$(OBJ): $(@:.o=.c) $(HDR)
.c.o:
$(CC) -c -o $@ $< $(CPPFLAGS) $(CFLAGS)
apsh: $(OBJ)
$(CC) -o $@ $(OBJ) $(LDFLAGS)
clean:
-rm -f -- *.o *.su apsh
.SUFFIXES:
.SUFFIXES: .o .c
.PHONY: all clean
|