reordered makefile for linking compatibility, cast const to remove warning
2 files modified
1 files added
New file |
| | |
| | | ((nil . |
| | | ((eval . |
| | | (let ((root (projectile-project-root))) |
| | | (setq-local company-clang-arguments |
| | | (list (concat "-I" root "include"))) |
| | | (setq-local flycheck-clang-include-path |
| | | (list (concat root "include")))))))) |
| | |
| | | default: dnscomp |
| | | |
| | | %.o: %c $(DEPS) |
| | | $(CC) $(CFLAGS) -c -o $@ $< |
| | | $(CC) -c -o $@ $< $(CFLAGS) |
| | | |
| | | dnscomp: $(_OBJ) |
| | | $(CC) $(CFLAGS) -o $@ $^ |
| | | $(CC) -o $@ $^ $(CFLAGS) |
| | | |
| | | .PHONY: clean |
| | | clean: |
| | |
| | | num_hosts = NUM_HOSTNAMES + added_hosts; |
| | | } |
| | | for (int i = added_hosts; i < num_hosts; i++) { |
| | | add_hosts_server(&hosts, HOSTNAMES[i-added_hosts]); |
| | | add_hosts_server(&hosts, (char*)HOSTNAMES[i-added_hosts]); |
| | | } |
| | | for (int i = 0; i < NUM_DNS; i++) { |
| | | add_dns_server(&servers, DNS_SERVERS[i]); |
| | | add_dns_server(&servers, (char*)DNS_SERVERS[i]); |
| | | } |
| | | test_dns(); |
| | | sort_servers(&servers); |