CC=gcc -Wall -O3 -Os
NASM=nasmw
SRCS=tinyptc/ddraw.c tinyptc/convert.c
OBJS = $(SRCS:.c=.o) tinyptc/mmx.o


rubba_b.exe: rubba_b.c $(OBJS) Makefile
	$(CC) -o rubba_b rubba_b.c $(OBJS) -s -mwindows

%.o: %.c 
	$(CC) -c -o $@ $<
	
%.o: %.asm
	$(NASM) -f win32 $< -o $@

			
depend:
	makedepend -o.o *.c
# DO NOT DELETE

rubba_b.o: tinyptc/tinyptc.h
