CFLAGS = -Wall -I../include/ -g LDFLAGS = -lcomfig -L../lib/ .PHONY: all clean all: test_gprs test_zigbee test_gprs: test_gprs.c $(CC) $(CFLAGS) test_gprs.c -o $@ $(LDFLAGS) test_zigbee: test_zigbee.c $(CC) $(CFLAGS) test_zigbee.c -o $@ $(LDFLAGS) clean: rm test_zigbee test_gprs