summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/uicsharp/Makefile.am
blob: ac42d99c15986a84116fced2acd67a47d4911c40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
all: uicsharp.exe

uicsharp.exe: $(wildcard *.cs)
	csant -D$(CSC_NAME)=$(CSC) -C $(CSC_NAME)
	chmod 0755 $@

clean:
	-rm uicsharp.exe

distclean: clean

install: uicsharp.exe
	-$(MAKE) uninstall
	-mkdir $(bindir)
	install -o root -g root -m 0755 uicsharp.exe $(bindir)/uicsharp.exe
	ln -s $(bindir)/uicsharp.exe $(bindir)/uicsharp

uninstall:
	-rm -rf $(bindir)/uicsharp.exe $(bindir)/uicsharp

.PHONY: all clean install uninstall