blob: d419dba71afd9795db109ddd5e315de9cfa15dd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# This Makefile will work only with GNU make.
CFLAGS ?= -O2 -fno-inline -g
CFLAGS += $(WARNFLAGS) -Wall -Wstrict-prototypes
SYSDEPS_OBJS=sysdeps.o
all: $(SYSDEPS_OBJS)
clean:
$(RM) *.o .depend
distclean: ;
.PHONY: all clean distclean depend
depend:
$(CC) $(CFLAGS) -M `ls *.c` > .depend
-include .depend
|