Browse Source

Makefile target order

master
Pedro Berrocal 5 years ago
parent
commit
7b04dc266f
2 changed files with 5 additions and 5 deletions
  1. +2
    -2
      README.md
  2. +3
    -3
      src/Makefile

+ 2
- 2
README.md View File

@ -24,10 +24,10 @@ make slice
### Compile & link
```
make mwserver
make
```
# Develpment
## TODO
- User Object
- ...
- ...

+ 3
- 3
src/Makefile View File

@ -16,13 +16,13 @@ OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
$(ODIR)/%.o: %.cpp $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
mwserver: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
slice:
slice2cpp -I. -I../../ice/slice *.ice
mv *.h ../include
mwserver: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
.PHONY: clean
clean:


Loading…
Cancel
Save