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