Changeset 84876aa4 in mainline for tools/xcw/demo/Makefile
- Timestamp:
- 2019-11-15T13:46:34Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ecb7828
- Parents:
- b093a62 (diff), d548fc0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/xcw/demo/Makefile
rb093a62 r84876aa4 36 36 # 37 37 # cd <helenos-source-dir> 38 # make distclean && make -j 4 PROFILE=amd64 39 # cd <helenos-source-dir>/tools/xcw/demo 40 # export PATH=$PATH:<helenos-source-dir>/tools/xcw/bin 38 # mkdir build 39 # cd build 40 # ../configure.sh 41 # ninja 42 # ../tools/export.sh export 43 # cd ../tools/xcw/demo 44 # export PATH=$PATH:<helenos-source-dir>/build/tools/xcw/bin 41 45 # make 42 46 # … … 44 48 CC = helenos-cc 45 49 LD = helenos-ld 50 INSTALL = install 51 TEST = helenos-test 46 52 CFLAGS = -std=gnu11 -Wall `helenos-pkg-config --cflags libgui libdraw libmath` \ 47 53 -D_HELENOS_SOURCE 48 54 LIBS = `helenos-pkg-config --libs libgui libdraw libmath` 55 PREFIX = `helenos-bld-config --install-dir` 49 56 output = viewer 50 57 objects = viewer.o … … 56 63 rm -f $(output) $(objects) 57 64 65 install: $(output) 66 mkdir -p $(PREFIX)/app 67 $(INSTALL) -T $(output) $(PREFIX)/app/$(output)-xcw 68 69 uninstall: 70 rm -f $(PREFIX)/app/$(output)-xcw 71 72 test: install 73 $(TEST) 74 58 75 $(output): $(objects) 59 76 $(CC) -o $@ $^ $(LIBS)
Note:
See TracChangeset
for help on using the changeset viewer.