| # |
| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| # |
| |
| # |
| # There exist several targets which are by default empty and which can be |
| # used for execution of your targets. These targets are usually executed |
| # before and after some main targets. They are: |
| # |
| # .build-pre: called before 'build' target |
| # .build-post: called after 'build' target |
| # .clean-pre: called before 'clean' target |
| # .clean-post: called after 'clean' target |
| # .clobber-pre: called before 'clobber' target |
| # .clobber-post: called after 'clobber' target |
| # .all-pre: called before 'all' target |
| # .all-post: called after 'all' target |
| # .help-pre: called before 'help' target |
| # .help-post: called after 'help' target |
| # |
| # Targets beginning with '.' are not intended to be called on their own. |
| # |
| # Main targets can be executed directly, and they are: |
| # |
| # build build a specific configuration |
| # clean remove built files from a configuration |
| # clobber remove all built files |
| # all build all configurations |
| # help print help mesage |
| # |
| # Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and |
| # .help-impl are implemented in nbproject/makefile-impl.mk. |
| # |
| |
| # Environment |
| MKDIR=mkdir |
| CP=cp |
| CCADMIN=CCadmin |
| RANLIB=ranlib |
| RESCOMP=windres |
| |
| |
| # build |
| build: .build-pre .build-impl .build-post |
| |
| .build-pre: |
| mkdir -p build |
| windres -I resources -o build/icon.o -i resources/res.rc |
| |
| .build-post: |
| # Add your post 'build' code here... |
| |
| |
| # clean |
| clean: .clean-pre .clean-impl .clean-post |
| |
| .clean-pre: |
| rm -rf build/icon.o |
| |
| .clean-post: |
| # Add your post 'clean' code here... |
| |
| |
| # clobber |
| clobber: .clobber-pre .clobber-impl .clobber-post |
| |
| .clobber-pre: |
| # Add your pre 'clobber' code here... |
| |
| .clobber-post: |
| # Add your post 'clobber' code here... |
| |
| |
| # all |
| all: .all-pre .all-impl .all-post |
| |
| .all-pre: |
| # Add your pre 'all' code here... |
| |
| .all-post: |
| # Add your post 'all' code here... |
| |
| |
| # help |
| help: .help-pre .help-impl .help-post |
| |
| .help-pre: |
| # Add your pre 'help' code here... |
| |
| .help-post: |
| # Add your post 'help' code here... |
| |
| # include project implementation makefile |
| include nbproject/Makefile-impl.mk |