15 lines
152 B
Makefile
15 lines
152 B
Makefile
|
PROGRAM = archive
|
||
|
CC ?= gcc
|
||
|
|
||
|
SRCS = $(PROGRAM).c
|
||
|
|
||
|
all: $(PROGRAM)
|
||
|
|
||
|
$(PROGRAM): $(SRCS)
|
||
|
$(CC) -o $@ $^
|
||
|
|
||
|
clean:
|
||
|
rm -f $(PROGRAM) *.o
|
||
|
|
||
|
.PHONY: all clean
|