make/Makefile.mk

changeset 431
bb7da585debc
parent 174
0358f1d9c506
equal deleted inserted replaced
169:fe49cff3c571 431:bb7da585debc
1 # 1 #
2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3 # 3 #
4 # Copyright 2013 Olaf Wintermann. All rights reserved. 4 # Copyright 2023 Olaf Wintermann. All rights reserved.
5 # 5 #
6 # Redistribution and use in source and binary forms, with or without 6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions are met: 7 # modification, are permitted provided that the following conditions are met:
8 # 8 #
9 # 1. Redistributions of source code must retain the above copyright notice, 9 # 1. Redistributions of source code must retain the above copyright notice,
30 30
31 BUILD_ROOT = ./ 31 BUILD_ROOT = ./
32 include config.mk 32 include config.mk
33 33
34 BUILD_DIRS = build/bin build/lib 34 BUILD_DIRS = build/bin build/lib
35 BUILD_DIRS += build/application 35 BUILD_DIRS += build/application build/ucx
36 BUILD_DIRS += build/ui/common build/ui/$(TOOLKIT) 36 BUILD_DIRS += build/ui/common build/ui/$(TOOLKIT)
37 37
38 all: $(BUILD_DIRS) ucx ui application 38 all: $(BUILD_DIRS) ucx ui application
39 make/$(PACKAGE_SCRIPT) 39 make/$(PACKAGE_SCRIPT)
40 40
41 $(BUILD_DIRS): 41 $(BUILD_DIRS):
42 mkdir -p $@ 42 mkdir -p $@
43 43
44 ui: ucx FORCE
45 cd ui; $(MAKE) all
46
44 ucx: FORCE 47 ucx: FORCE
45 cd ucx; $(MAKE) 48 cd ucx; $(MAKE) all
46
47 ui: FORCE
48 cd ui; $(MAKE) all
49 49
50 application: ui FORCE 50 application: ui FORCE
51 cd application; $(MAKE) 51 cd application; $(MAKE)
52 52
53 FORCE: 53 FORCE:

mercurial