File: Makefile

package info (click to toggle)
mymake 2.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 672 kB
  • sloc: cpp: 5,625; lisp: 300; ansic: 195; sh: 86; makefile: 32
file content (13 lines) | stat: -rw-r--r-- 389 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
all:
	mkdir -p bin
	g++ $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) textinc/*.cpp -o bin/textinc
	bin/textinc bin/templates.h templates/*.txt
	g++ $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -D_GNU_SOURCE -std=c++11 -iquotesrc/ src/*.cpp src/setup/*.cpp -lpthread -o bin/mm

install:
	mkdir -p $(DESTDIR)/usr/bin
	cp bin/mm $(DESTDIR)/usr/bin/mymake
	chmod +x $(DESTDIR)/usr/bin/mymake

clean:
	rm -rf bin/