#####################################################################
# make ICON=1

# don't create gamelist.txt
TEXTS =

# remove pedantic
$(OBJ)/windowsui/%.o: src/windowsui/%.c
	@echo Compiling $<...
	$(CC) $(CDEFS) $(CFLAGS) -c $< -o $@

OBJDIRS += $(OBJ)/windowsui

# only OS specific output files and rules
OSOBJS += \
        $(OBJ)/windowsui/mame.res


#####################################################################
# Resources

RC = @windres

RCDEFS = -DNDEBUG -D_WIN32_IE=0x0400

RCFLAGS = -O coff --include-dir src/windowsui

$(OBJ)/windowsui/%.res: src/windowsui/%.rc
	@echo Compiling resources $<...
	$(RC) $(RCDEFS) $(RCFLAGS) -o $@ -i $<
