=== Overview ===
[xuni.git] / src / widget / Makewin
blob63b2ef45ba5767ef21a14de47988aac1bdf8c127
1 # Makefile for xuni's src/widget subdirectory, Windows version
3 INCPATH = -I . -I ../../include
5 CC = /home/dwk/bin/egcc.exe
6 CFLAGS = -W -Wall -Wno-unused-parameter -ansi -pedantic -Wno-endif-labels -g \
7     $(INCPATH) -fPIC
9 SOURCES = box.c button.c checkbox.c combobox.c dump.c font.c image.c \
10     image_tile.c label.c listbox.c panel.c scrollbar.c textbox.c theme.c \
11     widgets.c
12 OBJECTS = $(SOURCES:.c=.o)
14 # Default target: all
15 .PHONY: all
16 all: $(OBJECTS)
18 # Source file dependency list
19 -include depend
21 # Other targets
22 .PHONY: clean wc
23 depend:
24         gcc -MM $(CFLAGS) $(SOURCES) | ../gendepend.pl > depend
25 clean:
26         -rm $(OBJECTS) depend