src/main/Makefile.am
changeset 158 4382c38dfbee
parent 141 218325a2653f
child 168 e92aa316c517
--- a/src/main/Makefile.am	Mon Aug 20 04:41:49 2001 +0000
+++ b/src/main/Makefile.am	Tue Aug 21 07:19:59 2001 +0000
@@ -10,7 +10,11 @@
 # Build a separate library containing the main() entry point.
 lib_LIBRARIES = libSDLmain.a
 
+if TARGET_MACOSX
+MAINLIB_ARCH_SRCS = SDLmain.m SDLmain.h
+else
 MAINLIB_ARCH_SRCS = SDL_main.c
+endif
 
 libSDLmain_a_SOURCES = $(MAINLIB_ARCH_SRCS)