Mercurial > dwindows
comparison makefile.emx @ 525:2ff26b697877
Fixes for building with Innotek GCC. Will have to check for regressions
with VAC and EMX.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 20 Mar 2004 01:21:13 +0000 |
parents | 80dbd5a1f403 |
children | 3ce487327afd |
comparison
equal
deleted
inserted
replaced
524:55c9fa60af78 | 525:2ff26b697877 |
---|---|
9 COMPRESS = lxlite | 9 COMPRESS = lxlite |
10 | 10 |
11 DEFS = | 11 DEFS = |
12 LIBS = | 12 LIBS = |
13 | 13 |
14 CFLAGS = -O -g -Zomf -Zmt -D__OS2__ -D__ST_MT_ERRNO__ -I. -Wall | 14 CFLAGS = -O -g -Zomf -Zmt -D__OS2__ -D__ST_MT_ERRNO__ -I. -Wall -o $(@) |
15 LDFLAGS = -Zdll -Zcrtdll | 15 LDFLAGS = -Zdll -Zcrtdll |
16 RCFLAGS = -r | 16 RCFLAGS = -r |
17 | 17 |
18 | 18 |
19 COMPATOBJECTS = compat.o dirent.o | 19 COMPATOBJECTS = compat.obj dirent.obj |
20 COMPATSOURCES = compat.c dirent.c | 20 COMPATSOURCES = compat.c dirent.c |
21 | 21 |
22 all: dw.dll dwcompat.dll dwtest.exe | 22 all: dw.dll dwcompat.dll dwtest.exe |
23 | 23 |
24 dw.dll: os2\dw.c dw.def | 24 dw.dll: os2\dw.c dw.def |
41 $(CC) $(CFLAGS) -Zcrtdll -Zomf -Zmt -o dwtest.exe dwtest.o -Llib -ldw -ldwcompat dwtest.def | 41 $(CC) $(CFLAGS) -Zcrtdll -Zomf -Zmt -o dwtest.exe dwtest.o -Llib -ldw -ldwcompat dwtest.def |
42 | 42 |
43 clean: | 43 clean: |
44 $(RM) $(OBJECTS) dwtest.exe | 44 $(RM) $(OBJECTS) dwtest.exe |
45 | 45 |
46 dw.o: dw.c | 46 dw.obj: dw.c |
47 $(CC) $(CFLAGS) -c $< | 47 $(CC) $(CFLAGS) -c $< |
48 | 48 |
49 compat.o: compat.c | 49 compat.obj: compat.c |
50 $(CC) $(CFLAGS) -c $< | 50 $(CC) $(CFLAGS) -c $< |
51 | 51 |
52 dirent.o: os2/dirent.c | 52 dirent.obj: os2/dirent.c |
53 $(CC) $(CFLAGS) -c $< | 53 $(CC) $(CFLAGS) -c $< |
54 | 54 |
55 dwtest.o: dwtest.c | 55 dwtest.obj: dwtest.c |
56 $(CC) $(CFLAGS) -c $< | 56 $(CC) $(CFLAGS) -c $< |
57 | 57 |