Commit 4dcf75c 1 parent 64c477a commit 4dcf75c Copy full SHA for 4dcf75c
File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ package() {
48
48
install -m755 $startdir /scripts/notepad $pkgdir /usr/bin
49
49
install -m755 $startdir /scripts/wordpad $pkgdir /usr/bin
50
50
install -m755 $builddir /create-shortcut.exe $pkgdir /${MINGW_PREFIX} /bin
51
+ install -m755 $builddir /WhoUses.exe $pkgdir /${MINGW_PREFIX} /bin
51
52
install -m755 $startdir /profile.d/git-prompt.sh $pkgdir /etc/profile.d
52
53
install -m755 $startdir /profile.d/aliases.sh $pkgdir /etc/profile.d
53
54
install -m755 $startdir /profile.d/env.sh $pkgdir /etc/profile.d
Original file line number Diff line number Diff line change 1
1
BUILDDIR ?= .
2
2
SRCDIR ?= .
3
3
4
- all : $(BUILDDIR ) /create-shortcut.exe
4
+ all : $(BUILDDIR ) /create-shortcut.exe $( BUILDDIR ) /WhoUses.exe
5
5
6
6
$(BUILDDIR ) /create-shortcut.exe : $(BUILDDIR ) /create-shortcut.o
7
7
$(CC ) $(CFLAGS ) -o $@ $^ -luuid -lole32
8
8
9
9
$(BUILDDIR ) /% .o : $(SRCDIR ) /% .c
10
10
$(CC ) -c $(CFLAGS ) $< -o $@
11
11
12
+ $(BUILDDIR ) /WhoUses.exe : $(BUILDDIR ) /WhoUses.o $(BUILDDIR ) /SystemInfo.o
13
+ $(CXX ) $(CXXFLAGS ) -o $@ $^
14
+
15
+ $(BUILDDIR ) /SystemInfo.o : $(SRCDIR ) /SystemInfo.cpp $(SRCDIR ) /SystemInfo.h
16
+
17
+ $(BUILDDIR ) /% .o : $(SRCDIR ) /% .cpp
18
+ $(CXX ) -c $(CXXFLAGS ) $< -o $@
19
+
12
20
clean :
13
21
rm $(BUILDDIR ) /create-shortcut.exe $(BUILDDIR ) /create-shortcut.o
22
+ rm $(BUILDDIR ) /WhoUses.exe $(BUILDDIR ) /WhoUses.o \
23
+ $(BUILDDIR ) /SystemInfo.o
You can’t perform that action at this time.
0 commit comments