2 # gcc Makefile for da65
8 CFLAGS = -g -O2 -Wall -W -I$(COMMON)
30 LIBS = $(COMMON)/common.a
36 ifeq (.depend,$(wildcard .depend))
41 @$(MAKE) -f make/gcc.mak all
47 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
48 @if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi
54 $(RM) *.o $(EXECS) .depend
57 # ------------------------------------------------------------------------------
58 # Make the dependencies
61 depend dep: $(OBJS:.o=.c)
62 @echo "Creating dependency information"
63 $(CC) -I$(COMMON) -MM $^ > .depend