Importing zdevtools release 20110529 from https://zdevtools.codeplex.com/ minus the...
[zdevtools.git] / prog.mk
1 %.o: %.c
2         $(CC) -g $(OPT) $(CFLAGS) $(MACROS) -c $< -o $@
3
4 $(PROG): $(PROG).o
5         $(CC) $(OPT) $< -o $@ $(LDADD)
6
7 clean:
8         rm -f $(PROG) *.o