mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-29 22:10:27 +00:00
Remove plenty of makefile misconfigurations
This commit is contained in:
parent
9172fd42a0
commit
8b469389f6
186 changed files with 1408 additions and 901 deletions
|
@ -308,9 +308,6 @@ o/$(MODE)/tool/net/redbean-static.com.dbg: \
|
|||
$(APE_NO_MODIFY_SELF)
|
||||
@$(APELINK)
|
||||
|
||||
o/$(MODE)/tool/net/redbean-static.o: tool/net/redbean.c o/$(MODE)/tool/net/redbean.o
|
||||
@$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.c) -DSTATIC -DREDBEAN=\"redbean-static\" $(OUTPUT_OPTION) $<
|
||||
|
||||
# REDBEAN-UNSECURE.COM
|
||||
#
|
||||
# Passing the -DUNSECURE will cause the TLS security code to be removed.
|
||||
|
@ -350,9 +347,6 @@ o/$(MODE)/tool/net/redbean-unsecure.com.dbg: \
|
|||
$(APE_NO_MODIFY_SELF)
|
||||
@$(APELINK)
|
||||
|
||||
o/$(MODE)/tool/net/redbean-unsecure.o: tool/net/redbean.c o/$(MODE)/tool/net/redbean.o
|
||||
@$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.c) -DUNSECURE -DREDBEAN=\"redbean-unsecure\" $(OUTPUT_OPTION) $<
|
||||
|
||||
# REDBEAN-ORIGINAL.COM
|
||||
#
|
||||
# Passing the -DSTATIC and -DUNSECURE flags together w/ MODE=tiny will
|
||||
|
@ -414,12 +408,6 @@ o/$(MODE)/tool/net/redbean-original.com.dbg: \
|
|||
$(APE_NO_MODIFY_SELF)
|
||||
@$(APELINK)
|
||||
|
||||
o/$(MODE)/tool/net/redbean-original.o: tool/net/redbean.c o/$(MODE)/tool/net/redbean.o
|
||||
@$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.c) -DSTATIC -DUNSECURE -DREDBEAN=\"redbean-original\" $(OUTPUT_OPTION) $<
|
||||
|
||||
o/$(MODE)/tool/net/redbean-original.s: tool/net/redbean.c o/$(MODE)/tool/net/redbean.o
|
||||
@$(COMPILE) -AOBJECTIFY.c $(COMPILE.c) -DSTATIC -DUNSECURE -DREDBEAN=\"redbean-original\" $(OUTPUT_OPTION) $<
|
||||
|
||||
.PHONY: o/$(MODE)/tool/net
|
||||
o/$(MODE)/tool/net: \
|
||||
$(TOOL_NET_BINS) \
|
||||
|
|
4
tool/net/redbean-original.c
Normal file
4
tool/net/redbean-original.c
Normal file
|
@ -0,0 +1,4 @@
|
|||
#define STATIC
|
||||
#define UNSECURE
|
||||
#define REDBEAN "redbean-original"
|
||||
#include "tool/net/redbean.c"
|
3
tool/net/redbean-static.c
Normal file
3
tool/net/redbean-static.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
#define STATIC
|
||||
#define REDBEAN "redbean-static"
|
||||
#include "tool/net/redbean.c"
|
3
tool/net/redbean-unsecure.c
Normal file
3
tool/net/redbean-unsecure.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
#define UNSECURE
|
||||
#define REDBEAN "redbean-unsecure"
|
||||
#include "tool/net/redbean.c"
|
Loading…
Add table
Add a link
Reference in a new issue