CC = gcc current: test2 test: test.o Nclient.o mapcode.o $(CC) -o $@ $^ -lm test2: ncs.unix.o Nclient.o mapcode.o $(CC) -o $@ $^ -lm test.o: test.c Nclient.h mapcode.h $(CC) -c $< Nclient.o: Nclient.c Nclient.h $(CC) -c $< mapcode.o: mapcode.c Nclient.h mapcode.h $(CC) -c $< ncs.unix.o: ncs.unix.c Nclient.h mapcode.c mapcode.h $(CC) -c $<