summaryrefslogtreecommitdiff
path: root/Makefile
blob: 40056c6ee0ed660015a001729d42ecdc0cf3ca0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.SUFFIXES: .c .o .h .a

.include "config.mk"

$(PROG): ${OBJ}
	$(LINKER) ${OBJ} -o $@ $(LFLAGS)

.c.o:
	@echo $<
	$(CC) $(CFLAGS) -c $<

clean:
	rm -f *.o
	rm -f $(PROG)