1 # get the target for the compiler
\r
2 target = $(strip $(shell $(CC) -dumpmachine))
\r
4 # DOS and Windows executables should have the .exe extension.
\r
5 # Other operating systems should be extension-less.
\r
9 ifeq ($(findstring mingw32,$(target)),mingw32)
\r
12 ifeq ($(findstring djgpp,$(target)),djgpp)
\r
19 CFLAGS = -Os -Wall -W -fomit-frame-pointer
\r
60 $(EXENAME) : $(OBJS)
\r
61 $(CC) $(OBJS) -o $(EXENAME) $(LDFLAGS)
\r
106 strlist.o: strlist.c \
\r
114 symbol.o: symbol.c \
\r
134 rm -f $(OBJS) $(EXENAME)
\r
136 # These targets can only be made with MinGW's make and not DJGPP's, because
\r
137 # they use Win32 tools.
\r
140 kzip /y acc$(VERNUM)-src.zip $(SRCS) "End User License ACC Source Code.doc"
\r
142 zipbin: $(EXENAME) $(ACS)
\r
143 kzip /y acc$(VERNUM).zip $(EXENAME) $(ACS)
\r
145 zipwbin: Release/acc.exe $(ACS)
\r
146 kzip /y acc$(VERNUM)win.zip Release/acc.exe $(ACS)
\r