--- hatari/src/gui-win/Makefile 2019/04/01 07:13:54 1.1 +++ hatari/src/gui-win/Makefile 2019/04/09 08:48:14 1.1.1.3 @@ -1,7 +1,15 @@ include ../../Makefile.cnf -all: hatari-winicon.o opencon.o +CFLAGS += -I../includes $(SDL_CFLAGS) + +GUIWINOBJS = opencon.o + +all: gui-win.a hatari-winicon.o + +gui-win.a: $(GUIWINOBJS) + $(AR) cru $@ $^ + $(RANLIB) $@ hatari-winicon.o: windres -o hatari-winicon.o hatari-winicon.rc