New home for stuff specific to Windows: src/lib/w32/
Move getopt.c getopt.h service.c from src/lib/gen/ there. (lib/libw32.a): New. (libs): Add it under Windows.
This commit is contained in:
parent
a1646c8aa7
commit
6498d66263
4 changed files with 5 additions and 0 deletions
5
Make.mk
5
Make.mk
|
@ -124,6 +124,10 @@ empth_obj := src/lib/empthread/ntthread.o
|
|||
empth_lib :=
|
||||
endif
|
||||
|
||||
ifeq ($(empthread),Windows) # really: W32, regardless of thread package
|
||||
libs += lib/libw32.a
|
||||
endif
|
||||
|
||||
# Cleanliness
|
||||
# Each generated file should be in one of the following sets.
|
||||
# Removed by clean:
|
||||
|
@ -262,6 +266,7 @@ lib/libcommon.a: $(filter src/lib/common/%, $(obj))
|
|||
lib/libgen.a: $(filter src/lib/gen/%, $(obj))
|
||||
lib/libglobal.a: $(filter src/lib/global/%, $(obj))
|
||||
lib/liblwp.a: $(filter src/lib/lwp/%, $(obj))
|
||||
lib/libw32.a: $(filter src/lib/w32/%, $(obj))
|
||||
|
||||
$(libs) $(empth_lib):
|
||||
$(AR) rc $@ $?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue