sgl

diff Makefile.in @ 20:0697fbd075b6

added fallback SDL module
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 26 Jun 2011 07:56:13 +0300
parents 12ce0cef7ebf
children 3d6ee9fb9ac1
line diff
     1.1 --- a/Makefile.in	Sun Jun 26 02:30:37 2011 +0300
     1.2 +++ b/Makefile.in	Sun Jun 26 07:56:13 2011 +0300
     1.3 @@ -23,7 +23,7 @@
     1.4  
     1.5  AR = ar
     1.6  CC = gcc
     1.7 -CFLAGS = -pedantic -Wall -g -fPIC -Iinclude -Isrc
     1.8 +CFLAGS = -pedantic -Wall -g -fPIC -Iinclude -Isrc $(CFLAGS_extra)
     1.9  LDFLAGS = $(wsys_libs)
    1.10  
    1.11  .PHONY: all
    1.12 @@ -35,6 +35,9 @@
    1.13  $(lib_so): $(obj)
    1.14  	$(CC) $(sharedopt_$(sys)) -o $@ $(obj) $(LDFLAGS)
    1.15  
    1.16 +%.o: %.m
    1.17 +	$(CC) $(CFLAGS) -c -o $@ $<
    1.18 +
    1.19  -include $(dep)
    1.20  
    1.21  %.d: %.c