/Makefile (7617e079b35d71d06f4429fef404cf87991e8476) (495 bytes) (mode 100644) (type blob)
SOURCES = $(wildcard *.c)
DEPS=libtoxcore
CC=gcc
CFLAGS=-g #-std=c99
CFLAGS += $(shell pkg-config --cflags $(DEPS))
LDFLAGS=-g -pthread -lm -static
LDFLAGS += $(shell pkg-config --libs $(DEPS))
OBJECTS=$(SOURCES:.c=.o)
INCLUDES = $(wildcard *.h)
.c.o: $(INCLUDES)
$(CC) $(CFLAGS) $< -c -o $@
tuntox: $(OBJECTS) $(INCLUDES)
$(CC) -o $@ $(OBJECTS) -ltoxcore -lpthread $(LDFLAGS) /usr/local/lib/libsodium.a /usr/local/lib/libtoxcore.a
cscope.out:
cscope -bv ./*.[ch]
all: cscope.out tuntox
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
495 |
7617e079b35d71d06f4429fef404cf87991e8476 |
Makefile |
100644 |
blob |
6671 |
2d09e2e1810ac4e82802398cf3e8b0f7310cc2a7 |
main.c |
100644 |
blob |
3876 |
119a2d25778f9f213d8c44aaf5c6047a311810e8 |
tox_bootstrap.h |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/gdr/tuntox
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/gdr/tuntox
Clone this repository using git:
git clone git://git.rocketgit.com/user/gdr/tuntox
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main