summaryrefslogtreecommitdiff
path: root/utils/sysdeps/Makefile
blob: 429916472f784aff7769fcae4c2b0e6595d8e6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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 -f *.o .depend

depend:
	gcc $(CFLAGS) -M `ls *.c` > .depend

-include .depend