diff 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
line wrap: on
line diff
--- a/makefile.emx	Wed Mar 17 18:49:14 2004 +0000
+++ b/makefile.emx	Sat Mar 20 01:21:13 2004 +0000
@@ -11,12 +11,12 @@
 DEFS =
 LIBS =
 
-CFLAGS = -O -g -Zomf -Zmt -D__OS2__ -D__ST_MT_ERRNO__ -I. -Wall
+CFLAGS = -O -g -Zomf -Zmt -D__OS2__ -D__ST_MT_ERRNO__ -I. -Wall -o $(@)
 LDFLAGS = -Zdll -Zcrtdll
 RCFLAGS = -r
 
 
-COMPATOBJECTS = compat.o dirent.o
+COMPATOBJECTS = compat.obj dirent.obj
 COMPATSOURCES = compat.c dirent.c
 
 all: dw.dll dwcompat.dll dwtest.exe
@@ -43,15 +43,15 @@
 clean: 
 	$(RM) $(OBJECTS) dwtest.exe
 
-dw.o: dw.c
+dw.obj: dw.c
 	$(CC) $(CFLAGS) -c $<	
 
-compat.o: compat.c
+compat.obj: compat.c
 	$(CC) $(CFLAGS) -c $<	
 
-dirent.o: os2/dirent.c
+dirent.obj: os2/dirent.c
 	$(CC) $(CFLAGS) -c $<	
 
-dwtest.o: dwtest.c
+dwtest.obj: dwtest.c
 	$(CC) $(CFLAGS) -c $<