|
|
1.1 root 1: #
2: # nono
1.1.1.3 root 3: # Copyright (C) 2020 nono project
4: # Licensed under nono-license.txt
5: #
6:
1.1 root 7: #
8: # wxWidgets executable
9: #
10:
1.1.1.3 root 11: .include "../Makefile.inc"
12:
1.1 root 13: TARGETS= nono
14:
15: CPPFLAGS+= @WXWIDGETS_CPPFLAGS@
1.1.1.4 root 16: # DECLARE_EVENT_TABLE 内に override があるのでそれが回避できない
17: CPPFLAGS+= -Wno-inconsistent-missing-override
1.1 root 18:
19: LDFLAGS+= -pthread
20: LIBS+= @WXWIDGETS_LIBS@
21:
22: CXXSRCS= \
23: bitrev.cpp \
24: kaname12.cpp \
25: wxapp.cpp \
1.1.1.6 ! root 26: wxbmp.cpp \
1.1 root 27: wxdumpmonitor.cpp \
1.1.1.6 ! root 28: wxfitframe.cpp \
1.1.1.4 root 29: wxhistmonitor.cpp \
30: wxlcdwindow.cpp \
1.1 root 31: wxlogmonitor.cpp \
32: wxmainframe.cpp \
33: wxmainview.cpp \
34: wxmonitor.cpp \
1.1.1.3 root 35: wxmpumonitor.cpp \
1.1 root 36: wxsoftkey.cpp \
1.1.1.6 ! root 37: wxstatuspanel.cpp \
1.1 root 38: wxsubwindow.cpp \
39: wxtextpanel.cpp \
40: wxtextscreen.cpp \
1.1.1.3 root 41: wxversion.cpp \
1.1 root 42: wxvideomonitor.cpp \
43:
44:
45: OBJS= ${CXXSRCS:.cpp=.o}
46:
47: CLEANDIRFILES= Makefile
48:
49: nono: ${MYLIBS} ${OBJS}
1.1.1.2 root 50: ${CXX} ${LDFLAGS} -o $@ ${OBJS} ${MYLIBS_GROUP} ${LIBS}
1.1.1.3 root 51:
1.1.1.5 root 52: install: nono
53: ${INSTALL} -d ${DESTDIR}${BINDIR}
54: ${INSTALL} -m 755 -o 0 -g 0 nono ${DESTDIR}${BINDIR}
1.1.1.3 root 55:
56: # make pot はトップディレクトリで行う必要がある (実行した位置からの相対パスが
57: # ファイルにコメントで残されるため、毎回違うと diff が出てしまう)。
58: # しかし今の所 wx/ にしかカタログ対象がないのでここにもショートカットを用意
59: # しておく。他ディレクトリにも対象が増えたら考え直すこと。
60: pot:
61: (cd ..; ${MAKE} pot)
62:
63: .include "../Makefile.rule"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.