Clean up win32 Makefile.

This commit is contained in:
Jonathan Schleifer 2012-01-05 16:13:54 +01:00
parent 34cfdb8154
commit abf7ca3dbe

View file

@ -1,12 +1,7 @@
PREFIX ?= /usr/local PREFIX ?= /usr/local
all : test.exe test:
@objfw-compile -DOG_WIN32 -Wall -g -o test -I../headers *.m
%.o : %.m clean:
gcc -g -DOG_WIN32 -I../headers -c -o $@ $^ `objfw-config --cppflags --objcflags` rm -f *.exe *.o *~
test.exe : OGApplication.o OGWidget.o OGWindow.o OGBox.o OGVBox.o OGHBox.o OGButton.o OGComboBox.o OGComboBoxItem.o test.o
gcc -mwindows -o test.exe *.o `objfw-config --libs`
clean :
rm -f *.exe *.o