File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ ifdef DEBUG
112112CFLAGS += -g
113113endif
114114
115- all : libhl hl libs
115+ all : libhl hl libs libhl.a
116116
117117install :
118118 $(UNAME ) ==Darwin && make uninstall
@@ -163,6 +163,9 @@ mysql: ${MYSQL} libhl
163163mesa :
164164 (cd libs/mesa && make)
165165
166+ libhl.a : ${LIB} ${FMT} ${SDL} ${SSL} ${OPENAL} ${UI} ${UV} ${MYSQL}
167+ ar rcs $@ $^
168+
166169release : release_version release_$(RELEASE_NAME )
167170
168171release_version :
@@ -223,10 +226,13 @@ codesign_osx:
223226.c.o :
224227 ${CC} ${CFLAGS} -o $@ -c $<
225228
229+ clean_a :
230+ rm -f libhl.a
231+
226232clean_o :
227233 rm -f ${STD} ${BOOT} ${RUNTIME} ${PCRE} ${HL} ${FMT} ${SDL} ${SSL} ${OPENAL} ${UI} ${UV} ${HL_DEBUG}
228234
229- clean : clean_o
235+ clean : clean_o clean_a
230236 rm -f hl hl.exe libhl.$(LIBEXT ) * .hdll
231237
232238.PHONY : libhl hl hlc fmt sdl libs release
You can’t perform that action at this time.
0 commit comments