home *** CD-ROM | disk | FTP | other *** search
Makefile | 1997-10-15 | 862 b | 36 lines |
- proj = DDESPY
- SRCS = DDESPY.C LISTS.C TESTSUBS.C
-
- #set nodebug=1 to omit debug information from build
-
- !include <win32.mak>
-
- !if "$(CPU)" == "i386"
- cflags = $(cflags) -D_CRTAPI1=_cdecl -D_CRTAPI2=_cdecl
- !else
- cflags = $(cflags) -D_CRTAPI1= -D_CRTAPI2=
- !endif
-
- all: $(proj).exe
-
- #create resource binaries
- $(proj).res: $(proj).rc $(proj).dlg $*.h
- $(rc) $(rcvars) -r -fo $(proj).res $(proj).rc
-
- # Update the object file if necessary
- .c.obj:
- $(cc) $(cflags) $(cvars) $(cdebug) $*.c
-
- $(proj).exe: $(SRCS:.C=.OBJ) $(proj).res
- $(link) $(linkdebug) $(guiflags) $(SRCS:.C=.OBJ) $(guilibs) $(proj).res -out:$(proj).exe
- !IF ("$(TARGETLANG)" == "LANG_JAPANESE") && ("$(OS)" == "Windows_NT")
- rlman -p 932 -n 17 1 -a $*.exe $*.tok $*.exe
- !ENDIF
-
- clean:
- del *.obj
- del *.exe
- del *.map
- del *.res
- del *.res
-