ob

Like a fantazy console, but with .so files as cartridges?
git clone git://git.vgx.fr/ob
Log | Files | Refs

Makefile (187B)


      1 LDLIBS ?= -lSDL2  -lSDL2_image -ldl
      2 CFLAGS ?= -Wall -Wextra -fPIC
      3 
      4 all: ob clib.so
      5 
      6 %.so: %.o
      7 	$(CC) $(LDFLAGS) -shared -o $@ $^ $(LDLIBS)
      8 
      9 ob: ob.o
     10 
     11 clib.so:
     12 
     13 clean:
     14 	-$(RM) *.o *.so ob