| 1234567891011121314151617181920212223242526272829303132 |
- TARGET=senso_http.so
- CC=gcc
- CFLAGS = -Os -pipe -fomit-frame-pointer -fPIC
- WFLAGS = -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings
- #WFLAGS = -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic
- #WFLAGS =
- LIBS = -lm
- OBJS_PATH = senso_http.o
- SRC = senso_http.o
- OBJS = senso_http.o
- all: $(TARGET)
- $(TARGET): $(OBJS_PATH)
- ${CC} -shared ${CFLAGS} -o $@ ${OBJS} ${LIBS}
- .c.o:
- ${CC} -c ${CFLAGS} ${WFLAGS} ${INCLUDES} $(PATH_CONF) -c $<
- clean:
- rm -f *.o
- install:
- cp $(TARGET) ../../
-
|