Clean up win32 Makefile.
This commit is contained in:
parent
34cfdb8154
commit
abf7ca3dbe
1 changed files with 4 additions and 9 deletions
|
@ -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
|
|
||||||
gcc -g -DOG_WIN32 -I../headers -c -o $@ $^ `objfw-config --cppflags --objcflags`
|
|
||||||
|
|
||||||
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:
|
clean:
|
||||||
rm -f *.exe *.o
|
rm -f *.exe *.o *~
|
||||||
|
|
Reference in a new issue