# build dynamic library with -fPIC -shared
CFLAGS = -g # -O3 -fPIC # CXXFLAGS for .cpp
CPPFLAGS = -MMD -MP # -I../foo -DNDEBUG
LDFLAGS = # -L../foo -shared
LDLIBS = # -lfoo
#CC = $(CXX) # link with CXX for .cpp
# target name is basename of one of the source files
main : $(patsubst %.c,%.o,$(wildcard *.c)) # .cpp
-include *.d
clean : ; -rm -fr *.o *.d main
.PHONY : clean
Block or Report
Block or report lijh8
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abuse
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.