application/Makefile

branch
newapi
changeset 178
7c3ff86ee9d4
parent 174
0358f1d9c506
child 277
5099a34747c4
equal deleted inserted replaced
177:e79a60b3a7cb 178:7c3ff86ee9d4
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 # POSSIBILITY OF SUCH DAMAGE. 26 # POSSIBILITY OF SUCH DAMAGE.
27 # 27 #
28 28
29 BUILD_ROOT = ../ 29 BUILD_ROOT = ..
30 include ../config.mk 30 include ../config.mk
31 31
32 CFLAGS += -I../ui/ -I../ucx 32 CFLAGS += -I../ui/ -I../ucx
33 33
34 SRC = main.c 34 SRC = main.c
39 39
40 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a 40 ../build/bin/mk12: $(OBJ) $(BUILD_ROOT)/build/lib/libuitk.a
41 $(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(TK_LDFLAGS) 41 $(LD) -o ../build/bin/mk12$(APP_EXT) $(OBJ) -L$(BUILD_ROOT)/build/lib -luitk -lucx $(LDFLAGS) $(TK_LDFLAGS)
42 42
43 ../build/application/%.$(OBJ_EXT): %.c 43 ../build/application/%.$(OBJ_EXT): %.c
44 $(CC) $(CFLAGS) $(TK_CFLAGS) -o $@ -c $< 44 $(CC) ../ucx $(CFLAGS) $(TK_CFLAGS) -o $@ -c $<
45 45

mercurial