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
7 ifeq ($(findstring mingw32,$(target)),mingw32)
\r
10 ifeq ($(findstring djgpp,$(target)),djgpp)
\r
17 CFLAGS = -Os -Wall -W -march=pentium -mtune=athlon-4 -fomit-frame-pointer
\r
58 $(EXENAME) : $(OBJS)
\r
59 $(CC) $(OBJS) -o $(EXENAME) $(LDFLAGS)
\r
104 strlist.o: strlist.c \
\r
112 symbol.o: symbol.c \
\r
132 rm -f $(OBJS) $(EXENAME)
\r
134 # These targets can only be made with MinGW's make and not DJGPP's, because
\r
135 # they use Win32 tools.
\r
138 kzip /y acc$(VERNUM)-src.zip $(SRCS) "End User License ACC Source Code.doc"
\r
140 zipbin: $(EXENAME) $(ACS)
\r
141 kzip /y acc$(VERNUM).zip $(EXENAME) $(ACS)
\r
143 zipwbin: Release/acc.exe $(ACS)
\r
144 kzip /y acc$(VERNUM)win.zip Release/acc.exe $(ACS)
\r