home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
owf.zip
/
template
/
stdc
/
stdc.mak
< prev
next >
Wrap
Makefile
|
1997-04-09
|
475b
|
31 lines
#actions:
# Compile C/C++
# Compile RC
# Link OBJ
# Link DEF
# Link RES
#files: stdc.c stdc.rc stdc.obj stdc.res stdc.def
OBJS=stdc.obj
all: stdc.exe stdc.dll
%.obj: %.c
gcc -Zmtd -Zcrtdll -Zomf -c $<
stdc.exe: $(OBJS)
gcc -Zmtd -Zcrtdll -Zomf -o stdc.exe $(OBJS) $(LIBS) stdc.def
stdc.dll: stdc.rc stdc.dlg
rc -r stdc.rc stdc.res
link386 res0, stdc.dll, nul, ,dll.def
rc stdc.res stdc.dll
stdc.obj: stdc.cpp\
stdc.h