Mercurial > dwindows
view makefile.emx @ 461:12ba7e744560
Fixes timer problems on Windows, however this may break Win95 support.
The Microsoft documentation is contradictory regarding this and I don't
have a copy of Win95 to test on here.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 09 Jul 2003 07:20:17 +0000 |
parents | 92367f4c0836 |
children | 80dbd5a1f403 |
line wrap: on
line source
# $Id$ # Dynamic Windows EMX Makefile CC = gcc RM = rm -f RC = rc MAKE = make COMPRESS = lxlite DEFS = LIBS = CFLAGS = -O -g -Zomf -Zmt -D__OS2__ -D__ST_MT_ERRNO__ -I. -Wall LDFLAGS = -Zdll -Zcrtdll RCFLAGS = -r COMPATOBJECTS = compat.obj dirent.obj COMPATSOURCES = compat.c dirent.c all: dw.dll dwcompat.dll dwtest.exe dw.dll: os2\dw.c dw.def $(CC) $(CFLAGS) $(DEFS) -o dw.dll os2/dw.c $(LDFLAGS) dw.def dw.lib: dw.def emximp -o dw.lib dw.def copy dw.dll dll copy dw.lib lib dwcompat.dll: $(COMPATOBJECTS) dwcompat.def $(CC) $(CFLAGS) $(DEFS) -o dwcompat.dll $(COMPATOBJECTS) $(LDFLAGS) -lsocket dwcompat.def dwcompat.lib: dwcompat.def emximp -o dwcompat.lib dwcompat.def copy dwcompat.dll dll copy dwcompat.lib lib dwtest.exe: dwtest.obj dw.lib dwcompat.lib $(CC) $(CFLAGS) -Zcrtdll -Zomf -Zmt -o dwtest.exe dwtest.obj -Llib -ldw -ldwcompat dwtest.def clean: $(RM) $(OBJECTS) dwtest.exe dw.obj: dw.c $(CC) $(CFLAGS) -c $< compat.obj: compat.c $(CC) $(CFLAGS) -c $< dirent.obj: os2/dirent.c $(CC) $(CFLAGS) -c $< dwtest.obj: dwtest.c $(CC) $(CFLAGS) -c $<