X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/89b5297e5ba90c5b971d8b928ae72b13915aae10..87b2d09bd02f7edfecc39d59a151240872b18b86:/projects/sgconf_xml/Makefile?ds=sidebyside diff --git a/projects/sgconf_xml/Makefile b/projects/sgconf_xml/Makefile index d0a5550c..60288877 100644 --- a/projects/sgconf_xml/Makefile +++ b/projects/sgconf_xml/Makefile @@ -49,8 +49,8 @@ all: libs $(PROG) ../../Makefile.conf libs: $(MAKE) -C $(DIR_LIBSRC) -$(PROG): $(OBJS) $(LIBS) - $(CC) $^ $(LDFLAGS) -o $(PROG) +$(PROG): $(OBJS) $(STGLIBS) + $(CC) $^ $(LIBS) $(LDFLAGS) -o $(PROG) clean: rm -f deps $(PROG) *.o tags *.*~ .OS @@ -95,8 +95,8 @@ deps: $(SRCS) ../../Makefile.conf $(MAKE) -C $(DIR_LIBSRC) includes @>deps ;\ for file in $(SRCS); do\ - echo "`$(CC) $(CFLAGS) $(SEARCH_DIRS) -MM $$file` Makefile" >> deps ;\ - echo -e '\t$$(CC) -c $$< $(CFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\ + echo "`$(CC) $(CXXFLAGS) $(SEARCH_DIRS) -MM $$file` Makefile" >> deps ;\ + echo -e '\t$$(CC) -c $$< $(CXXFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\ done