19 lines
208 B
Makefile
19 lines
208 B
Makefile
.POSIX:
|
|
.PHONY: all clean
|
|
DEPS=src/main.o src/util.o
|
|
|
|
all: secd
|
|
|
|
secd: $(DEPS)
|
|
$(CC) $(CFLAGS) $(DEPS) -o secd
|
|
|
|
run: secd
|
|
@./secd
|
|
|
|
clean:
|
|
rm -f $(DEPS)
|
|
|
|
.SUFFIXES: .c .o
|
|
.c.o:
|
|
$(CC) -c $(CFLAGS) $< -o $@
|