Changes in tools/xcw/demo/Makefile [3875f106:d548fc0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/xcw/demo/Makefile
r3875f106 rd548fc0 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 $( LD) -o $@ $^ $(LIBS)76 $(CC) -o $@ $^ $(LIBS) 60 77 61 78 %.o: %.c
Note:
See TracChangeset
for help on using the changeset viewer.