1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
.POSIX: CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 CFLAGS = -std=c99 -g LDFLAGS = all: hungarian hungarian: hungarian.c gcc -o $@ $< $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) clean: -rm -f -- hungarian .PHONY: all clean